package top.easycode.app.common;



import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

@XmlAccessorType(XmlAccessType.NONE)
public class BaseReq implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 6678466460294478910L;
    @XmlAttribute
    @NotNull(message = "接口名称不能为空")
    private String application;//接口名称.Req

    private String terminalPhysicalNo;//手机串号

    public String getTerminalPhysicalNo() {
        return terminalPhysicalNo;
    }

    public void setTerminalPhysicalNo(String terminalPhysicalNo) {
        this.terminalPhysicalNo = terminalPhysicalNo;
    }

    //	@XmlElement
    private String sendTime; //DateUtil.getDate(DateUtil.YYYYMMDDHHMMSS);//发送时间
    //	@XmlElement
    private String sendSeqId; //DateUtil.getDate(DateUtil.YYYYMMDDHHMMSS);//发送流水号

    @XmlElement
    private String msgExt;//附加信息
    @XmlElement
    private String misc;//自定保留域

	public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }


    public String getMsgExt() {
        return msgExt;
    }

    public void setMsgExt(String msgExt) {
        this.msgExt = msgExt;
    }

    public String getMisc() {
        return misc;
    }

    public void setMisc(String misc) {
        this.misc = misc;
    }

    public String getSendTime() {
        return this.sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getSendSeqId() {
        return sendSeqId;
    }

    public void setSendSeqId(String sendSeqId) {
        this.sendSeqId = sendSeqId;
    }



}
